package com.sso.service;

import com.sso.model.Account;

/**
 * Created by yangjianbo on 2016/10/10.
 */
public interface SsoService {


    /**
     *
     * @param username  用户账户
     * @param password  账户密码
     * @return  返回用户唯一标识
    */
     String login(String username,String password);

    /**
     *
     * @param username 用户账户
     * @return 查询用户
     */
     Account selectUser(String username);
}
